<fieldset>
 		<legend><?php __('Refinancing'); ?></legend>
<div class="related">
	<h3><?php __('Buildings');?></h3>
	<?php if (!empty($toRefinance)):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>				
		<th><?php __('Building Name'); ?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($toRefinance as $b):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>					
			<td><?php echo $this->Html->link($b['b']['building_name'], array('action' => 'refinance_index_properties',
			'?' => array("building_id" => $b['b']['building_id'],
						 "person_id" => $b['p']['person_id'])));?></td>
		</tr>
	<?php endforeach; ?>
	</table>
	<?php endif; ?>
</fieldset>